<?php extract($item); ?>
 <h1><span class="blue-dark">vicatra's </span>PRODUCTS</h1>
      <div id="product-left"> 
          <div class="corners">
              <div class="tl"></div>
              <div class="tr"></div>
              <div class="bl"></div>
              <div class="br"></div> 
              <img alt="" src="<?php echo base_url()."public/upload/".$images; ?>" width="240" align="left" height="180" />
        </div>

      </div>
      <div id="product-detail">
        <p class="title-products"><?php echo $name ?></p>
        <?php echo $description; ?>
      </div>

       <!--Products gallery -->
      <div class="controls_medium_showcase"><span class="prev_medium"></span> <span class="next_medium"></span>
        <div  id="gallery">            
          <ul>
            <?php foreach ($pList as $pItem):
              //  if ($pItem['id'] == $id && count($pList)>2) continue;
                $detailUrl = base_url()."products/{$pItem['id']}-{$pItem['alias']}.html";
            ?>
                <li>
                    <a href="<?php echo $detailUrl; ?>">
                        <img src="<?php echo base_url()."public/upload/fix/".$pItem['images']; ?>" alt="" width="150" height="113"/>
                    </a>
                </li>
            <?php endforeach; ?>
          </ul>
        </div>
      </div>